﻿namespace star_questionnair.Models;

using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

[Table("target_group")]
public class TargetGroup
{
    [Key]
    public int Id { get; set; }

    [ForeignKey("Questionnaire")]
    public int QuestionnaireId { get; set; }

    [Required]
    public string Name { get; set; }

    public string Description { get; set; }
}
